﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AspNetCs.Enumerations
{
    namespace Up_Enum
    {

        /// <summary>
        /// 文件类型
        /// </summary>
        [EnumDescription("文件类型")]
        public enum FileExtension_enum
        {
            [EnumDescription("JPG", 0)]
            JPG = 255216,
            [EnumDescription("GIF", 1)]
            GIF = 7173,
            [EnumDescription("BMP", 2)]
            BMP = 6677,
            [EnumDescription("PNG", 3)]
            PNG = 13780
            // 255216 jpg;    
            // 7173 gif;    
            // 6677 bmp,    
            // 13780 png;    
            // 7790 exe dll,    
            // 8297 rar    
            // 6063 xml    
            // 6033 html    
            // 239187 aspx    
            // 117115 cs    
            // 119105 js    
            // 210187 txt    
            //255254 sql    
        }

        /// <summary>
        /// 生成缩略图的方式
        /// </summary>
        public enum thumbType
        {
            /// <summary>
            /// 指定宽高缩放
            /// </summary>
            [EnumDescription("指定宽高缩放", 1)]
            HW = 1,
            /// <summary>
            /// 按比例缩放
            /// </summary>
            [EnumDescription("按比例缩放", 2)]
            Auto = 2
        }

    }
}
